/*
 * Copyright (c) 2010-2011 NOO. All Rights Reserved.
 * [Id:PanelMenu.java  11-10-6 下午3:12 poplar.yfyang ]
 */
package org.mumu.pawn.model;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * <p>
 * 菜单工具实体。构建一个树形结构.
 * </p>
 *
 * @author poplar.yfyang
 * @version 1.0 11-10-6 下午3:12
 * @since JDK 1.5
 */
public class PanelMenu implements Serializable {
    private static final long serialVersionUID = 590534252562219777L;

    private String id;

    private String label;

    private String link;

    private String icon;

    private List<PanelMenu> childMenu = new ArrayList<PanelMenu>();

    public PanelMenu() {
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getLabel() {
        return label;
    }

    public void setLabel(String label) {
        this.label = label;
    }

    public String getLink() {
        return link;
    }

    public void setLink(String link) {
        this.link = link;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public List<PanelMenu> getChildMenu() {
        return childMenu;
    }

    public void setChildMenu(List<PanelMenu> childMenu) {
        this.childMenu = childMenu;
    }
}
